package com.ruoyi.common.utils;
import java.text.SimpleDateFormat;
import java.util.Date;


public class SnUtils {

    public static String orderNo() {
        SimpleDateFormat sfDate = new SimpleDateFormat("yyMMddHHmmssSSS");
        String strDate = sfDate.format(new Date());
        String random = String.valueOf((int) ((Math.random() * 9 + 1) * 100));
        return strDate + random;
    }

}
